package com.slmxz.tms.common.constant;

/**
 * 缓存常量
 * @author sunyao
 * @Date 2024-11-15
 */
public interface SecurityConstants {

    /**
     * 验证码缓存前缀
     */
    String CAPTCHA_CODE_PREFIX = "captcha_code:";

    /**
     * 角色和权限缓存前缀
     */
    String ROLE_PERMS_PREFIX = "role_perms:";

    /**
     * 黑名单Token缓存前缀
     */
    String BLACKLIST_TOKEN_PREFIX = "token:blacklist:";


    /**
     * 登录路径
     */
    String LOGIN_PATH = "/auth/login";


    /**
     * JWT Token 前缀
     */
    String JWT_TOKEN_PREFIX = "Bearer ";

    String AUTHORIZATION_HEADER = "Authorization";

    String ACCEPT_LANGUAGE = "Accept-Language";


}
